package Common 
{
	/**
	 * ...
	 * @author Serg de Adelantado
	 */
	public class Utils 
	{		
		public function Utils() 
		{			
		}
		
		public static function ReplaceAllByRegex(ASource:String, AReplaceFrom:String, ARepalceTo:String):String 
		{
			return ASource == null ? null : ASource.replace(new RegExp(AReplaceFrom, 'g'), ARepalceTo);
		}
	}
}